-
Notifications
You must be signed in to change notification settings - Fork 975
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would go other way around. So I think that non of the tests need background so I would disable it on global level, so if NODE_ENV
test set this value to false
or when you initialize test in lib/brave
. This way tests are lighter and you can enable if needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't documentation needed on docs/ to let people know that the images are disabled by default and they need to set something to run tests that include dashboard images?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++ on docs update :-)
@cezaraugusto can you please squash commits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great change; this will help save testing time! 😄
@NejcZdovc can you please re-review (and merge if it looks OK 😄 ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ++
Submitter Checklist:
git rebase -i
to squash commits (if needed).Auditors: @bsclifton
Fix: #9240
Most tests were created while new tab was a blank page and/or before we had the option to show gradient background.
Test Plan:
Reviewer Checklist:
Tests